<template>
    <div class="main nav-main">
      <router-link to="/">
        <img class="logo" src="../../assets/img/logo.png" alt="">
      </router-link>
      <ul class="nav">
        <li>
          <router-link to="/">首页</router-link>
        </li>
        <li>
          <router-link to="/course">课程</router-link>
        </li>
        <li>
          <router-link to="/mentor">导师</router-link>
        </li>
        <li>
          <router-link to="/institute">爱思益研究院</router-link>
        </li>
        <li>
          <router-link to="/case">成功案例</router-link>
        </li>
        <li>
          <router-link to="/joinus">加入我们</router-link>
        </li>
        <li>
          <router-link to="/about">关于我们</router-link>
        </li>
        <li>
          <router-link to="/partner">合作企业</router-link>
        </li>
      </ul>
      <div class="search-box">
          <input type="text">
      </div>
    </div>
</template>
<script>
export default {
    
}
</script>

<style lang="less" scoped>
  .nav-main{
    height: 80px;
    overflow: hidden;
    line-height: 80px;
    font-size: 16px;
    .logo{
      height: 60px;
      vertical-align: middle;
    }
    .nav{
      display: inline-block;
      vertical-align: middle;
      overflow: hidden;
      li{
        float: left;
        margin-left: 42px;
      }
      .router-link-exact-active{
        color:#e60012;
      }
    }
    .search-box{
        float: right;
    }
  }
  
</style>